<template>
  <router-view />
  <Loading :visible="visible"></Loading>
</template>

<script lang="ts" setup>
import { Loading } from '@/components'
import { computed } from 'vue';
import { useStore } from 'vuex'
const store = useStore()
const visible = computed(() => store.state.visible)
</script>

<style lang="scss">
* {
  margin: 0;
  padding: 0;
}
</style>
